﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Direct.Server.Modules.SysAdmin.Controls;
using Direct.Web.Mvc.Controls2;

namespace Direct.Server.Modules.SysAdmin.SystemInfo.Views
{
    public class SysInfoAssembliesView : SysAdminMasterPage
    {
        protected override void Init()
        {
            base.Init();
            var c = this.Content;
            c.New<UiTitle>().SetText("Bibliotecas em execução");
            c.New<UiDataTable>()
                .SetMargin(15)
                .SetBinding(UiDataTable.ItemsSourceProperty, "@assemblies")
                .AddColumn("Nome completo", new TableCell().SetTextBinding("="));
        }
    }
}
